package main

import "fmt"

func main() {
	var i1 = 5
	fmt.Printf("An interger: %d,its location im memory: %p\n", i1, &i1)
	var intp *int
	intp = &i1
	fmt.Printf("An interger: %d,its location im memory: %p\n", *intp, intp)
	*intp = 8
	fmt.Printf("An new interger: %d,its location in memory: %p\n", *intp, intp)
	fmt.Printf("An new interger: %d,its location in memory: %p\n", i1, &i1)
}
